package Server;

/**
 * 服务端事件根类
 * 
 * @author Administrator
 * 
 */
public abstract class ClientEvent {
	protected Server source; // 服务端
	protected ClientThread ct; // 客户线程

	public ClientEvent(Server source, ClientThread ct) {
		this.source = source;
		this.ct = ct;
	}

	public ClientThread getCt() {
		return ct;
	}

	public Server getSource() {
		return source;
	}

	public void setCt(ClientThread ct) {
		this.ct = ct;
	}

	public void setSource(Server source) {
		this.source = source;
	}

	@Override
	public abstract String toString();
}
